package zuoye2;

public class Demo4 {
    public static void main(String[] args) {
        for (int i = 0; i < 10; i++) {//前一个数
            for (int j = 1; j <= i; j++) {//后一个数
                System.out.print(j+"*"+i+"="+i*j+",");//拼接
            }
            System.out.println();
        }
    }
}
